<html>
<head>
    <title>Test for http://bugs.webkit.org/show_bug.cgi?id=12885</title>
    <style type="text/css">
      
    </style>
    <script src="resources/text-based-repaint.js" type="text/javascript"></script>
    <script>
        function repaintTest()
        {
            document.getElementById('target').style.width = '100px';
            document.getElementById('target').style.height = '100px';
            document.getElementById('target').style.marginTop = '-100px';
        }
    </script>
</head>
<body onload="runRepaintAndPixelTest();">
    <div style="position:absolute; height:100px; width:100px;background-color:red"></div>
    <div style="padding-top:100px"></div>
    <div style="position:absolute"><div id="target" style="display:inline-block; background-color:green"></div></div>
    </div>
</body>
</html>
